﻿using System.ServiceModel;
using VideoServices.Services.Dto;
using VideoServices.Services.Response;

namespace VideoServices.Services.Interface
{
    [ServiceContract]
    public interface IWarehouseService
    {
        /// <summary>
        /// Gets the warehouse by id.
        /// </summary>
        /// <param name="id">The id.</param>
        /// <returns></returns>
        [OperationContract]
        Response<WarehouseDto> GetWarehouseById(int id);


        /// <summary>
        /// Creates the warehouse.
        /// </summary>
        /// <param name="newWarehouse">The new warehouse.</param>
        /// <returns></returns>
        [OperationContract]
        Response<WarehouseDto> CreateWarehouse(WarehouseDto newWarehouse);
    }
}
